package cn.iocoder.yudao.module.wecom.controller.admin.dept.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 企微部门 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WeDeptRespVO {

    @Schema(description = "企业部门", requiredMode = Schema.RequiredMode.REQUIRED, example = "30059")
    @ExcelProperty("企业部门")
    private Long id;

    @Schema(description = "企微部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2253")
    @ExcelProperty("企微部门ID")
    private Integer weDeptId;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("部门名称")
    private String name;

    @Schema(description = "部门负责人")
    @ExcelProperty("部门负责人")
    private String weDeptLeader;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "上级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13229")
    @ExcelProperty("上级ID")
    private Long parentId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}